'''
获取 app package 和activity
'''
from androguard.core.bytecodes.apk import APK

def get_apkname(apk):
    a = APK(apk, False, "r")
    return a.get_package()


def get_apk_lautc(apk):
    a = APK(apk, False, "r")
    return a.get_main_activity()


if __name__ == '__main__':
    pass